using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using IndiGoGameProcessor.Board;

namespace Controllers
{
	[HandleError]
	public class HomeController : Controller
	{
		public ActionResult Index ()
		{
			var board = new Board(19);
			var hasher = new BoardEncoder();
			var hash = board.Encoded.ToString();
			var sameBoard = hasher.DecodeBoard(hash, 19);
			
			var isWorking = board == sameBoard;
			
			return View ();
		}
	}
}

